package com.jboost.config;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@NoArgsConstructor
@Accessors(chain = true)
@ConfigurationProperties(prefix = "jpush")
public class JPushConfig {
    /**
     * 极光推送的用户名
     */
    private String appkey;
    /**
     * 极光推送的密码
     */
    private String masterSecret;
    /**
     * 极光推送设置过期时间
     */
    private String liveTime;

}
